#!/bin/bash

#IMAGE_PATH=/media/kasim/Data1/data/ErisedFaceRec/images
#FACE_BBOX_LIST_FILE=/media/kasim/Data1/data/ErisedFaceRec/face_bbox.txt
#OUT_PATH=/media/kasim/Data1/data/ErisedFaceRec
IMAGE_PATH=/media/kasim/Data/data/ErisedVideoFaceRec/images
FACE_BBOX_LIST_FILE=/media/kasim/Data/data/ErisedVideoFaceRec/face_bbox.txt
OUT_PATH=/media/kasim/Data/data/ErisedVideoFaceRec
THREAD_COUNT=16

CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

cd ./out

export LD_LIBRARY_PATH=./lib

./frextract $IMAGE_PATH $FACE_BBOX_LIST_FILE $OUT_PATH $THREAD_COUNT 0

cd $CUR_DIR
